﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>设置指定网页为主页</title>
    
</head>
<body>
<a href="#" onClick="this.style.behavior='url(#default#homepage)';
    this.setHomePage('http://www.google.com');">
    设为主页
</a>
</body>
</html>